<?php defined( '_JEXEC' ) or die( 'Restricted access' );

jimport('joomla.application.component.controller');

class WebideControllerOption extends JController {
	public function display($cachable = false, $urlparams = false) {
		JRequest::setVar('view', 'options');
		JRequest::setVar('template', 'default');
		parent::display();
		return $this;
	}
	public function add($cachable = false, $urlparams = false) {
		JRequest::setVar('view', 'option');
		parent::display();
		return $this;
	}
	public function save($cachable = false, $urlparams = false) {
		JRequest::setVar('view', 'option');
		dump(JRequest::get('POST'),'post');
		parent::display();
		return $this;
	}	
}
?>